﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls.Ribbon;
using AIPASoft.Interfaces.BusinessDomain;
using AIPASoft.Interfaces;

namespace AssociateDomain
{
    public class AssociateDomain : IBusinessDomain,IPlugin
    {
        public AssociateDomain()
        {
            Name = "AssociateDomain";
        }
        #region Implementation of IBusinessDomain

        public IApplicationManager ApplicationManager { get; set; }
        public IDomainManager DomainManager { get; set; }
        public object[] DomainRequires { get; set; }
        public IPlugin QueryInterface()
        {
            throw new NotImplementedException();
        }

        public string DomainName { get; set; }
        public Guid DomainID { get; set; }
        public RibbonTab DomainTab { get; set; }
        public UIElement ContentWindow { get; set; }

        public RibbonTab GetDomainTab()
        {
            //var ctlView = new RibbonTabControlView();
            //DomainTab = ctlView.DomainRibbonTab;
            return DomainTab;
        }

        public void StartInitialization()
        {
            throw new NotImplementedException();
        }

        public void FinishInitialization()
        {
            throw new NotImplementedException();
        }

        public void FreezeDomain()
        {
            throw new NotImplementedException();
        }

        public void UnFreezeDomain()
        {
            throw new NotImplementedException();
        }

        #endregion

        #region Implementation of IPlugin

        public string Name { get; set; }

        #endregion
    }
}
